<%@ Control Language="C#" %>
<%@ Import Namespace="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
	
<table align="center" cellpadding="3" class="tableBorder" cellspacing="1" border="0" >
    <tr>
        <td class="column">
            <CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_Title" id="Resourcelabel1" NAME="Resourcelabel1"/>
        </td>
    </tr>
    <tr>
        <td class="fh">
			
			<table cellpadding="3" cellspacing="0" border="0" width="100%">
			<tr>
				<td class="fh2">    
					<CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_Instructions" id="Resourcelabel2" NAME="Resourcelabel2"/>
					<p>
					<b><font class="red"><CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_PrivacyNotice" id="Resourcelabel3" NAME="Resourcelabel3"/></font></b>
				</td>
			</tr>
			<tr>
			<td>&nbsp;</td>
			</tr>
			<tr>
				<td class="fh2">
					<b><CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_ForumRules" id="Resourcelabel4" NAME="Resourcelabel4"/></b>
					<br />
					<CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_ForumRulesDesc" id="Resourcelabel5" NAME="Resourcelabel5"/>
				</td>
			</tr>
			<tr>
			<td>&nbsp;</td>
			</tr>
			<tr>
				<td align="left" class="fh2">
					<b><CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_UserName" id="Resourcelabel6" NAME="Resourcelabel6"/></b>
					<br />
					<asp:textbox id="Username" MaxLength="64" runat="server" columns="40"></asp:textbox>
					<asp:RegularExpressionValidator EnableClientScript="false" id="usernameRegExValidator" runat="server" ControlToValidate="Username" Cssclass="validationWarning">*</asp:RegularExpressionValidator>
					<asp:RequiredFieldValidator EnableClientScript="false" id="usernameValidator" runat="server" ControlToValidate="Username" Cssclass="validationWarning">*</asp:RequiredFieldValidator>
					<asp:RequiredFieldValidator EnableClientScript="false" id="placeHolderValidator" runat="server" ControlToValidate="Username" Cssclass="validationWarning" >*</asp:RequiredFieldValidator>
					<asp:CustomValidator ControlToValidate="Username" id="UsernameLengthValidator" EnableClientScript=false runat="server">*</asp:CustomValidator>
				</td>
			</tr>
			<tr>
			<td>&nbsp;</td>
			</tr>
			<tr id="AccountActivationAutomatic" Visible="false" runat="server">
				<td align="left" class="fh2">
					<b><CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_PasswordDescription" id="Resourcelabel9" NAME="Resourcelabel9"/></b>
					<br />
					<asp:textbox id="Password" MaxLength="64" TextMode="Password" runat="server" columns="40"></asp:textbox>
					<asp:RequiredFieldValidator id="passwordValidator" runat="server" ControlToValidate="Password" Cssclass="validationWarning">*</asp:RequiredFieldValidator>
					<asp:RegularExpressionValidator EnableClientScript="false" id="passwordRegExValidator" runat="server" ControlToValidate="Password" Cssclass="validationWarning">*</asp:RegularExpressionValidator>
          <asp:CustomValidator ControlToValidate="Password" id="passwordContentValidator" EnableClientScript=false runat="server" Display=Dynamic Cssclass="validationWarning">*</asp:CustomValidator>
				</td>
			</tr>
			<tr id="AccountActivationAutomatic2" Visible="false" runat="server">
				<td align="left" class="fh2">
					<b><CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_ReEnterPassword" id="Resourcelabel10" NAME="Resourcelabel10"/></b>
					<br />
					<asp:textbox id="Password2" MaxLength="64" TextMode="Password" runat="server" columns="40"></asp:textbox>
					<asp:RequiredFieldValidator id="password2Validator" runat="server" ControlToValidate="Password2" Cssclass="validationWarning">*</asp:RequiredFieldValidator>
					<asp:comparevalidator id="ComparePassword" runat="server" ControlToValidate="Password2" ControlToCompare="Password" Cssclass="validationWarning">*</asp:comparevalidator>
				</td>
			</tr>
			<tr>
			<td colspan="2">&nbsp;</td>
			</tr>
			<tr>
				<td align="left" class="fh2" colspan="2">
					<b><CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_Email" id="Resourcelabel11" NAME="Resourcelabel11"/></b>
					<br />
					<CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_EmailDescription" id="Resourcelabel12" NAME="Resourcelabel12"/>
					<br />
					<asp:textbox id="Email" runat="server" MaxLength="128" columns="40"></asp:textbox>
					<asp:RequiredFieldValidator id="emailValidator" runat="server" ControlToValidate="Email" Cssclass="validationWarning">*</asp:RequiredFieldValidator>
					<asp:RegularExpressionValidator id="emailRegExValidator" runat="server" ControlToValidate="Email" Cssclass="validationWarning" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
				</td>
			</tr>
			<tr>
				<td align="left" class="fh2" colspan="2">
					<b><CS:ResourceLabel runat="server" ResourceName="CreateNewAccount_ReEnterEmail" id="Resourcelabel13" NAME="Resourcelabel13"/></b>
					<br />
					<asp:textbox id="Email2" runat="server" MaxLength="128" columns="40"></asp:textbox>
					<asp:RequiredFieldValidator id="email2Validator" runat="server" ControlToValidate="Email2" Cssclass="validationWarning">*</asp:RequiredFieldValidator>
					<asp:comparevalidator id="CompareEmail" runat="server" ControlToValidate="Email2" ControlToCompare="Email" Cssclass="validationWarning">*</asp:comparevalidator>
				</td>
			</tr>
			<tr>
				<td class="fh2" align="left" colspan="2">
					<asp:ValidationSummary id="validationSummary" runat="server" />
				</td>
			</tr>
			<tr>
				<td class="fh2" align="right" colspan="2">
				<asp:button id="CreateAccount" Runat="server" /> <asp:button id="Cancel" CausesValidation="false" Runat="server" />
				</td>
			</tr>
			</table>
			
		</td>
	</tr>  
</table>
	